import asyncio

from celery.backends import redis
from redis import ConnectionPool, Redis
from django.conf import settings

pool = ConnectionPool(max_connections=100, host=settings.REDIS_HOST, port=settings.REDIS_PORT, db=0,
                      password=settings.REDIS_PASSWORD)
